package com.alibaba.goods.storage.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author:RenPu
 * @Date: 2020/7/7 15:13
 * @Version: 1.0
 * @description:
 */

@Mapper
public interface StorageDao {

    //扣减库存
    public void decrease(@Param("productId") Long productId, @Param("count") Integer count);

}
